package com.dongdongshop.service;

import com.dongdongshop.pojo.TbContent;
import com.dongdongshop.pojo.TbContentCategory;

import java.util.List;

public interface ContentService {
    List<TbContent> findAll();

    TbContent selectById(Long id);

    void updateContent(TbContent tbContent);

    void insert(TbContent tbContent);

    void deleteAll(Long[] ids);

    List<TbContentCategory> selectPic(Long categoryId, Integer count);
}
